home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1996 January: Mac OS SDK / Dev.CD Jan 96 SDK / Dev.CD Jan 96 SDK1.toast / Development Kits (Disc 1) / MacODBC / ODBC Tools / INCLUDE / DataTran.h < prev    next >
Encoding:
C/C++ Source or Header  |  1995-06-29  |  1.0 KB  |  44 lines  |  [TEXT/MPS ]

  1. /***************************************************************************
  2.  
  3.     DataTran.h
  4.     
  5.     Copyright:    (c) 1995 by Visigenic Software, Inc., all rights reserved.
  6.     
  7.  ***************************************************************************/
  8.  
  9. #ifndef __DATATRANSLATE_H
  10.  
  11. #define __DATATRANSLATE_H 1
  12.  
  13. #ifndef __SQLEXT
  14. #include "SQLExt.h"
  15. #endif
  16.  
  17. BOOL_TRANSAPI SQLDataSourceToDriver( UDWORD    fOption,
  18.                                 SWORD    fCType,
  19.                                 PTR        rgbValueIn,
  20.                                 SDWORD    cbValueIn,
  21.                                 PTR        rgbValueOut,
  22.                                 SDWORD    cbValueOutMax,
  23.                                 SDWORD    *pcbValueOut,
  24.                                 UCHAR    *szErrorMsg,
  25.                                 SWORD    cbErrorMsgMax,
  26.                                 SWORD    *pcbErrorMsg);
  27.  
  28. BOOL_TRANSAPI SQLDriverToDataSource(    UDWORD    fOption,
  29.                                 SWORD    fCType,
  30.                                 PTR        rgbValueIn,
  31.                                 SDWORD    cbValueIn,
  32.                                 PTR        rgbValueOut,
  33.                                 SDWORD    cbValueOutMax,
  34.                                 SDWORD    *pcbValueOut,
  35.                                 UCHAR    *szErrorMsg,
  36.                                 SWORD    cbErrorMsgMax,
  37.                                 SWORD    *pcbErrorMsg);
  38.  
  39. BOOL_TRANSAPI ConfigTranslator ( SQLHWND    hwnd,
  40.                                    DWORD    *pvOption);
  41.  
  42.  
  43. #endif // __DATATRANSLATE_H
  44.